alter table "PharmacyWareHouse" add "LocationId" int references "Location"("LocationId");
-- This is depends on  select  * from "Location" l  
--update "PharmacyWareHouse" set "LocationId" = 2;
----------------------

Alter table "PharmacySaleHeader" add column "LocationId" int references "Location"("LocationId");
-- Should be updated based on below Select command.
--Select * from "Location"

--update "PharmacySaleHeader" set "LocationId" = 2;

Alter table "DemandBook" add column "LocationId" int references "Location"("LocationId");

--Select * from "Location";
--Update "DemandBook" set "LocationId" = 2;


Alter table "IndentHeader" add column "LocationId" int references "Location"("LocationId");
--Select * from "Location"
update "IndentHeader" set "LocationId" = 2;